package cn.huixh.blindbox.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.List;

/**
 * @author huixh
 * @version 1.0
 * @date 2022/5/10 11:17
 */
@Data
@TableName(value = "tb_note", autoResultMap = true, resultMap = "NoteMap")
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Note extends BaseEntity {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    private String content;

    private String sex;

    private String wechat;

    private String accountId;

    @TableField(exist = false)
    private List< File > files;
}
